//
//  UIButton+Extension.swift
//  WeiDo
//
//  Created by XISHAN on 16/3/3.
//  Copyright © 2016年 XISHAN. All rights reserved.
//

import UIKit

extension UIButton{
    
 
    convenience  init(textColor:UIColor,fontSize:CGFloat) {
    
        self.init()
        setTitleColor(textColor, forState: .Normal)
        titleLabel?.font = UIFont.systemFontOfSize(fontSize)
    }
}